/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package homework.demo03;

/**
 *
 * @author Administrator
 */
import java.util.*;

public class PersonTest {

    public static void main(String[] args) {
        HomeWorkDemo03 person = new HomeWorkDemo03("张三", "12345679", "南宁");
        HomeWorkDemo03 person2 = new HomeWorkDemo03("李四", "7456464", "南宁");
        HomeWorkDemo03 person3 = new HomeWorkDemo03("王五", "15616165", "南宁");
        List p = new ArrayList();
        p.add(person);
        p.add(person2);
        p.add(person3);
        System.out.println(p);
    }
}
